<?php

namespace App\Http\Model;

class PointCashLog extends Base
{
    protected $hidden = [
        'updated_at'
    ];

    protected $fillable = ['user_id', 'alipay', 'real_name', 'number', 'status'];

    public function getCreatedAtAttribute($date)
    {
        return \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $date)->timestamp;
    }
}
